using UnityEngine;

public class UiFadeScreen : MonoBehaviour
{
    public Animator Anim { get; private set; }

    private void Awake()
    {
        Anim = GetComponent<Animator>();
    }

    public void FadeOut() => Anim.SetTrigger("FadeOut");
    public void FadeIn() => Anim.SetTrigger("FadeIn");
}
